:root {
    --red: #ed1c24;
    --red-hover: #c71119;
    --red-text: #ed1c24;
    --ink: #131416;
    --surface: #1b1c1f;
    --surface-light: #242528;
    --line: #3b3c40;
    --text: #f4f3f0;
    --muted: #b9b9bc;
    --font: "Barlow", "Arial", sans-serif;
    --header-height: 154px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.modal-open {
    overflow: hidden;
}
body.menu-open {
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
a:hover {
    color: #fff;
}
button, input, textarea, select {
    font: inherit;
}
button, a, input, textarea, select, summary {
    -webkit-tap-highlight-color: transparent;
}
button {
    color: inherit;
}
button:not(:disabled), summary {
    cursor: pointer;
}
:focus-visible {
    outline: 3px solid #ff9c9f;
    outline-offset: 5px;
}
[hidden] {
    display: none !important;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
figure {
    margin: 0;
}
h1, h2, h3, h4 {
    color: inherit;
    font-family: var(--font);
    line-height: 1.09;
    letter-spacing: -0.045em;
    font-weight: 700;
    text-wrap: balance;
}
h1 {
    font-size: clamp(2.65rem, 4.7vw, 4.6rem);
    margin: 0 0 24px;
}
h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin: 0 0 24px;
}
h3 {
    font-size: 1.4rem;
    letter-spacing: -0.025em;
}
p {
    margin: 0 0 22px;
}
p:last-child {
    margin-bottom: 0;
}
.container {
    max-width: 1320px;
    padding-right: 32px;
    padding-left: 32px;
}
.section {
    padding-block: 100px;
}
.surface {
    background: var(--surface);
}
.eyebrow {
    display: block;
    margin-bottom: 24px;
    color: var(--red-text);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.6;
    text-transform: uppercase;
}
.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    line-height: 1.65;
    color: #d3d3d5;
    font-weight: 400;
}
.muted {
    color: var(--muted);
}
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 9px;
    border-bottom: 1px solid #737479;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}
.text-link:hover {
    border-color: var(--red);
}
.arrow {
    display: inline-block;
    font-size: 1.35em;
    line-height: 1;
    transition: transform 180ms ease;
}
a:hover .arrow, button:hover .arrow {
    transform: translateX(4px);
}
.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 14px 23px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease;
}
.button:hover {
    background: var(--red-hover);
    color: #fff;
}
.button-outline {
    border-color: #75767a;
    background: transparent;
}
.button-outline:hover {
    background: #303136;
    border-color: #aaa;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 16px;
    padding: 12px 18px;
    background: #fff;
    color: #111;
    transform: translateY(-180%);
}
.skip-link:focus {
    transform: none;
    color: #111;
}
/* Header: molemmat logot, selkeä vaakavalikko, ei tarpeettomia alatasoja. */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    isolation: isolate;
    border-top: 3px solid var(--red);
    border-bottom: 0;
    background: #191a1d;
}
.site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 64px;
    background: #d9151f;
}
.brand-row {
    min-height: 87px;
    border-bottom: 0;
}
.brand-link {
    flex: 0 0 auto;
    text-decoration: none;
}
.brand-link img {
    width: 200px;
}
.dealer-logo {
    width: 194px;
}
.dealer-caption {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.desktop-nav {
    min-height: 64px;
}
.desktop-nav ul {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.desktop-nav a {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 64px;
    align-items: center;
    padding-inline: 16px;
    border: 0;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] {
    color: #fff;
    border-bottom-color: transparent;
}
.desktop-nav nav a::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 9px 0;
    background: transparent;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.desktop-nav nav a:hover::before {
    background: #b61119;
}
.desktop-nav nav a[aria-current="page"]::before {
    background: #851018;
    box-shadow: inset 0 -2px 0 #fff;
}
.desktop-nav a:focus-visible {
    outline-color: #fff;
    outline-offset: -4px;
}
.desktop-nav .header-phone {
    min-height: 44px;
    padding: 10px 22px 10px 28px;
    white-space: nowrap;
    font-size: 0.87rem;
}
.header-phone::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #17181b;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.desktop-nav .header-phone:hover::before {
    background: #303135;
}
.header-phone {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}
.header-phone span {
    color: #fff;
    margin-right: 10px;
}
.menu-toggle {
    display: none;
    min-width: 112px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 15px;
    border: 0;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}
.menu-lines {
    display: grid;
    gap: 6px;
}
.menu-lines span {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    transition: transform 250ms ease;
}
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child {
    transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: linear-gradient(125deg, transparent 72%, rgb(237 28 36 / 12%) 72%), #151618;
    border-top: 7px solid var(--red);
}
.mobile-menu-inner {
    width: min(100%, 760px);
    min-height: 100%;
    margin-inline: auto;
    padding: 20px 28px 30px;
}
.mobile-top {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}
.mobile-top img {
    width: 155px;
}
.menu-close {
    width: 48px;
    height: 48px;
    border: 1px solid #5b5c61;
    border-radius: 50%;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
}
.mobile-menu ol {
    margin: 20px 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: menu-item;
}
.mobile-menu li {
    counter-increment: menu-item;
    border-bottom: 1px solid #333438;
    animation: menu-enter 350ms ease both;
    animation-delay: calc(var(--i, 0) * 30ms);
}
.mobile-menu li a {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 18px;
    font-size: clamp(1.35rem, 4.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-decoration: none;
}
.mobile-menu li a::before {
    content: counter(menu-item, decimal-leading-zero);
    align-self: center;
    color: #929397;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0;
}
.mobile-menu a[aria-current="page"] {
    color: var(--red-text);
}
.mobile-menu a[aria-current="page"]::before {
    color: var(--red-text);
}
.mobile-menu li:has(a[aria-current="page"]) {
    border-bottom-color: var(--red);
}
.mobile-menu li a::after {
    content: "↗";
    margin-left: auto;
    color: #797a80;
    font-size: 1.1rem;
}
.mobile-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.mobile-caption {
    color: #aaa;
    font-size: 0.8rem;
    text-align: center;
}
@keyframes menu-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Etusivu */
.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface);
    border-bottom: 4px solid var(--red);
}
.hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    height: 100%;
    min-height: 0;
    margin: 0;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}
.hero-image figcaption {
    position: absolute;
    left: 32px;
    bottom: 23px;
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 6px #000;
    text-transform: uppercase;
}
.home-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgb(17 18 20 / 8%) 10%, rgb(17 18 20 / 27%) 38%, rgb(17 18 20 / 80%) 59%, rgb(17 18 20 / 88%) 100%);
    pointer-events: none;
}
.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 41%;
    height: 10px;
    background: var(--red);
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    pointer-events: none;
}
.home-hero > .row {
    min-height: 610px;
}
.hero-copy {
    width: 100%;
    max-width: 650px;
    padding: 68px clamp(32px, 4.5vw, 76px);
}
.hero-copy h1 {
    max-width: 9em;
}
.hero-copy h1 span {
    color: var(--red);
}
.hero-copy br + br {
  display: none;
}
.hero-copy .lead {
    max-width: 31em;
    font-size: 1.05rem;
}
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 26px;
    margin-top: 32px;
}
.hero-footnote {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}
.home-intro {
    border-bottom: 1px solid var(--line);
}
.home-intro h2 {
    max-width: 10em;
}
.section-heading {
    margin-bottom: 40px;
}
.section-heading h2 {
    margin-bottom: 0;
}
.section-heading .eyebrow {
    margin-bottom: 12px;
}
.product-card {
    height: 100%;
    border-bottom: 1px solid #55565b;
}
.product-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-decoration: none;
}
.product-photo {
    display: flex;
    aspect-ratio: 1.23;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}
.product-photo img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 300ms ease;
}
.product-card a:hover .product-photo img {
    transform: scale(1.04);
}
.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 0 20px;
}
.product-code {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.product-card h3 {
    margin: 10px 0 25px;
    font-size: 1.1rem;
    line-height: 1.4;
    letter-spacing: -0.015em;
}
.product-card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    font-size: 0.8rem;
    color: #d5d5d7;
}
.split-image {
    overflow: hidden;
    height: 100%;
    min-height: 470px;
}
.split-image img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    object-position: 60% center;
}
.split-copy {
    max-width: 560px;
    padding: 60px 0 60px 64px;
}
.split-copy .eyebrow {
    margin-bottom: 20px;
}
.split-copy p {
    color: #c9c9cc;
}
.contact-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 60px 0;
    border-top: 0;
    background: #cb141d;
    color: #fff;
}
.contact-band h2 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.contact-band p {
    max-width: 44em;
    color: #fff1f1;
}
.contact-band::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 37%;
    background: #991018;
    clip-path: polygon(85px 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
.contact-band .button {
    min-width: 205px;
    border-color: #fff;
    background: #fff;
    color: #a60f17;
}
.contact-band .button:hover {
    background: #191a1d;
    border-color: #191a1d;
    color: #fff;
}

/* Sisäsivujen yläosat: kuva ja otsikko muodostavat yhden kokonaisuuden. */
.breadcrumbs {
    padding: 22px 0;
    color: var(--muted);
    font-size: 0.73rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs li + li::before {
    content: "/";
    padding-right: 8px;
    color: #777;
}
.breadcrumbs a {
    text-decoration: none;
}
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #a9121a;
    border-bottom: 5px solid var(--red);
}
.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgb(112 7 14 / 94%) 0%, rgb(153 10 20 / 88%) 47%, rgb(198 14 25 / 65%) 100%);
    pointer-events: none;
}
.page-hero > .container {
    position: relative;
}
.page-hero .breadcrumbs {
    color: #ffe0e2;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
}
.page-hero .breadcrumbs li + li::before {
    color: #f2b0b5;
}
.page-hero .eyebrow {
    color: #ffe4e6;
}
.page-hero .page-title .lead {
    color: #fff0f1;
}
.page-hero .page-title {
    max-width: 850px;
    padding: 58px 0 68px;
}
.page-title h1 {
    font-size: clamp(2.5rem, 4.4vw, 4.2rem);
}
.page-title .eyebrow {
    margin-bottom: 19px;
}
.page-title .lead {
    max-width: 32em;
    margin-bottom: 0;
    font-size: 1.05rem;
}
.page-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}
.page-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}
.page-hero-image.ratchet img {
    object-position: 65% center;
}
.list-toolbar {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.catalogue-link {
    max-width: 410px;
}
.catalogue-link p {
    color: var(--muted);
    font-size: 0.9rem;
}
.search-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}
.search-control {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #626369;
    border-radius: 2px;
    background: var(--surface);
    color: #fff;
}
.search-control::placeholder {
    color: #b8b9be;
    opacity: 1;
}
.search-wrap {
    width: min(100%, 340px);
}
.list-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 25px;
}
.empty-results {
    padding: 32px;
    border: 1px solid var(--line);
}
.note {
    padding-left: 16px;
    border-left: 2px solid var(--red);
    color: var(--muted);
    font-size: 0.84rem;
}
.offer-intro {
    padding: 30px;
    background: var(--surface-light);
    border-left: 3px solid var(--red);
}
/* Tuotesivu ja selainpohjainen kuvakatselin */
.product-detail {
    padding: 25px 0 90px;
}
.product-figure {
    display: flex;
    min-height: 470px;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.product-figure a {
    display: block;
    width: 100%;
    padding: 30px;
    cursor: zoom-in;
}
.product-figure img {
    width: 100%;
    height: 390px;
    object-fit: contain;
}
.image-hint {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.75rem;
}
.product-information {
    padding: 20px 0 30px 48px;
}
.product-information h1 {
    font-size: clamp(2.2rem, 3.3vw, 3.3rem);
}
.product-information .product-code {
    display: block;
    margin-bottom: 20px;
    color: var(--red-text);
}
.product-meta {
    margin-block: 28px;
    border-top: 1px solid var(--line);
}
.product-meta div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}
.product-meta dt {
    color: var(--muted);
    font-weight: 400;
}
.product-meta dd {
    margin: 0;
    text-align: right;
}
.product-help {
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--muted);
}
.lightbox {
    width: min(1000px, calc(100% - 32px));
    max-height: 90dvh;
    padding: 0;
    border: 1px solid #57585f;
    background: var(--surface);
    color: #fff;
}
.lightbox::backdrop {
    background: rgb(0 0 0 / 88%);
}
.lightbox-top {
    padding: 14px 18px;
}
.lightbox-top button {
    width: 44px;
    height: 44px;
    border: 1px solid #666;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
}
.lightbox img {
    width: 100%;
    height: min(64dvh, 650px);
    padding: 20px;
    background: #fff;
    object-fit: contain;
}
.lightbox-caption {
    padding: 18px 22px;
    font-size: 0.9rem;
}
/* Yritys ja ohjelmistosivut */
.prose {
    max-width: 740px;
}
.prose p, .prose li {
    color: #cccdd0;
}
.prose h2 {
    margin-top: 45px;
    font-size: 2rem;
}
.prose h2:first-child {
    margin-top: 0;
}
.prose h3 {
    margin-top: 28px;
    font-size: 1.35rem;
}
.prose a {
    color: var(--red-text);
}
.prose a:hover {
    color: var(--red-text);
    text-decoration: underline;
}
.side-note {
    padding: 32px;
    border-top: 3px solid var(--red);
    background: var(--surface-light);
}
.side-note h2 {
    font-size: 1.6rem;
}
.side-note p {
    color: var(--muted);
    font-size: 0.95rem;
}
.side-note a.button {
    margin-top: 35px;
}
.feature-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}
.feature-list li {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.feature-list strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
    color: #f4f3f0;
}
.service-visual {
    background: #fff;
    overflow: hidden;
}
.service-visual img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}
/* Videot: natiivi details toimii myös ilman JavaScriptiä. */
.video-list {
  margin-top: 25px;
}
.video-list details {
    border-top: 1px solid var(--line);
}
.video-list details:last-child {
    border-bottom: 1px solid var(--line);
}
.video-list summary, .video-list summary h2 {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 0;
    list-style: none;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.4;
}
 .video-list summary h2 {
   padding-top: 0px;
   padding-bottom: 0px;
   margin-bottom: 0px;
}
.video-list summary::-webkit-details-marker {
    display: none;
}
.video-list summary::after {
    content: "+";
    margin-left: auto;
    color: var(--red-text);
    font-size: 1.5rem;
    font-weight: 400;
}
.video-list details[open] summary::after {
    content: "−";
}
.video-number {
    color: #a5a5aa;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.video-content {
    padding: 0 0 30px 45px;
    color: var(--muted);
}
.video-content iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}
/* Yhteydenotto */
.contact-details {
    padding: 30px 0;
}
.contact-details h2 {
    font-size: 2.2rem;
}
.contact-details address {
    color: var(--muted);
    font-style: normal;
}
.contact-phone {
    display: inline-block;
    margin: 25px 0 8px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.04em;
    text-decoration: none;
}
.contact-email {
    overflow-wrap: anywhere;
}
.contact-form {
    padding: 38px;
    border-top: 3px solid var(--red);
    background: var(--surface);
}
.contact-form h2 {
    margin-bottom: 15px;
    font-size: 1.9rem;
}
.contact-form .form-intro {
    color: var(--muted);
    font-size: 0.9rem;
}
.field {
    margin-bottom: 20px;
}
.field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 600;
}
.field input, .field textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #686a72;
    border-radius: 2px;
    background: var(--ink);
    color: #fff;
}
.field textarea {
    min-height: 145px;
    resize: vertical;
}
.field input:focus, .field textarea:focus {
    border-color: #fff;
}
.field [aria-invalid="true"] {
    border-color: #ff9296;
}
.field-error {
    margin-top: 5px;
    color: #ff9296;
    font-size: 0.8rem;
}
.form-footnote {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}
.form-success {
    padding: 26px;
    border: 1px solid #709e7b;
    background: #18261c;
}
.form-success h3 {
    font-size: 1.5rem;
}
.form-success p {
    color: #d6e9da;
}
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.map-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    margin-top: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.map-link small {
    display: block;
    color: var(--muted);
}
/* Footer */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 68px 0 22px;
    border-top: 2px solid var(--red);
    background: #101113;
    color: #bbbcc0;
    font-size: 0.85rem;
}
.footer-logo {
    width: 210px;
    margin-bottom: 20px;
}
.footer-title, .site-footer h2 {
    margin-bottom: 13px;
    color: #f4f3f0;
    font-size: 0.83rem;
    font-weight: 700;
}
.site-footer address {
    font-style: normal;
}
.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer li + li {
    margin-top: 8px;
}
.site-footer a {
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}
.footer-bottom {
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid #34353a;
    font-size: 0.72rem;
}
.footer-bottom a {
    text-decoration: underline;
}
/* JavaScript ei ole vaatimus sisältöjen tai navigaation lukemiselle. */
.no-js-mobile {
    display: none;
}
@media (min-width: 1600px) {
    .home-hero > .row {
        max-width: 1800px;
        margin-inline: auto;
    }
}
@media (max-width: 1199.98px) {
    :root {
        --header-height: 85px;
    }
    .site-header::before {
        display: none;
    }
    .brand-row {
        min-height: 82px;
        border-bottom: 0;
    }
    .desktop-nav, .dealer-caption {
        display: none !important;
    }
    .brand-link img {
        width: 175px;
    }
    .dealer-logo {
        width: 170px;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .home-hero > .row {
        min-height: 550px;
    }
    .hero-copy {
        padding: 50px 35px;
    }
    .hero-copy h1 {
        font-size: clamp(2.6rem, 5vw, 3.7rem);
    }
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .split-copy {
        padding-left: 40px;
    }
    .no-js .no-js-mobile {
        display: block;
        padding: 18px 24px;
    }
    .no-js-mobile ul {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        list-style: none;
        padding: 0;
    }
    .no-js .menu-toggle {
        display: none;
    }
}
@media (max-width: 767.98px) {
    :root {
        --header-height: 76px;
    }
    .container {
        padding-inline: 24px;
    }
    .section {
        padding-block: 62px;
    }
    .brand-row {
        min-height: 73px;
    }
    .brand-link img {
        width: 143px;
    }
    .dealer-logo {
        width: 135px;
    }
    .header-dealer {
        display: none !important;
    }
    .menu-toggle {
        gap: 10px;
        margin-right: -6px;
    }
    .home-hero > .row {
        min-height: 0;
        padding-top: 245px;
    }
    .home-hero::before {
        background: linear-gradient(180deg, rgb(17 18 20 / 6%) 0%, rgb(17 18 20 / 20%) 22%, rgb(17 18 20 / 83%) 43%, rgb(17 18 20 / 94%) 100%);
    }
    .hero-image figcaption {
        display: none;
    }
    .hero-image img {
        object-position: 39% top;
    }

    .hero-copy {
        max-width: none;
        padding: 38px 24px 34px;
    }
    .hero-copy h1 {
        max-width: 10em;
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    .hero-copy .eyebrow {
        margin-bottom: 18px;
        font-size: 0.65rem;
    }
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 18px 24px;
        margin-top: 25px;
    }
    .hero-footnote {
        margin-top: 28px;
        font-size: 0.72rem;
    }
    .home-intro h2 {
        max-width: 13em;
    }
    .home-intro .eyebrow {
        margin-bottom: 16px;
    }
    .section-heading {
        gap: 24px;
        align-items: flex-start !important;
        flex-direction: column;
        margin-bottom: 28px;
    }
    .product-photo {
        aspect-ratio: 1.1;
    }
    .product-card-body {
        padding-top: 16px;
    }
    .product-code {
        font-size: 0.62rem;
        overflow-wrap: anywhere;
    }
    .product-card h3 {
        margin-top: 8px;
        margin-bottom: 20px;
        font-size: 0.96rem;
        line-height: 1.35;
    }
    .product-card-link {
        font-size: 0.72rem;
    }
    .split-image, .split-image img {
        min-height: 310px;
        height: 310px;
    }
    .split-copy {
        padding: 35px 0 0;
    }
    .contact-band {
        padding: 35px 0;
    }
    .page-hero .page-title {
        padding: 36px 0 44px;
    }
    .page-title h1 {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
    }
    .page-hero-image img {
        object-position: 60% center;
    }
    .page-hero::after {
        background: linear-gradient(90deg, rgb(112 7 14 / 94%), rgb(173 10 21 / 81%));
    }
    .contact-band::before {
        width: 45%;
    }
    .breadcrumbs {
        padding-block: 15px;
        font-size: 0.7rem;
    }
    .list-toolbar {
        align-items: stretch !important;
        flex-direction: column;
        gap: 22px;
    }
    .search-wrap {
        width: 100%;
    }
    .product-detail {
        padding-bottom: 50px;
    }
    .product-figure {
        min-height: 300px;
    }
    .product-figure img {
        height: 270px;
    }
    .product-figure a {
        padding: 15px;
    }
    .product-information {
        padding: 25px 0 0;
    }
    .product-information h1 {
        font-size: 2.2rem;
    }
    .side-note {
        padding: 27px;
    }
    .contact-form {
        padding: 28px 22px;
    }
    .contact-details {
        padding-top: 0;
    }
    .video-list summary {
        gap: 15px;
    }
    .video-content {
        padding-left: 0;
    }
    .footer-bottom {
        gap: 15px;
        align-items: flex-start !important;
        flex-direction: column;
        margin-top: 25px;
    }
}
@media (max-width: 359.98px) {
    .container {
        padding-inline: 18px;
    }
    .hero-copy {
        padding-inline: 18px;
    }
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .mobile-contact {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
.video-item .youtube-container {
    width: 100%;
}
.video-item .youtube-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}
.video-item .youtube-play-button {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #111;
    cursor: pointer;
}
.video-item .youtube-play-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-item .youtube-play-button .play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 68px;
    height: 48px;
    border-radius: 10px;
    background: #ed1c24;
    transform: translate(-50%, -50%);
}
.video-item .youtube-play-button .play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 17px solid #fff;
    transform: translate(-40%, -50%);
}
.video-item .youtube-play-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}
.video-item .youtube-player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-item {
    counter-increment: video-number;
}
.video-item .video-number::before {
    content: counter(video-number, decimal-leading-zero);
}
.video-content .youtube-consent-placeholder {
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--red, #ed1c24);
    background: #191919;
    text-align: center;
}
.video-content .youtube-consent-placeholder__inner {
    max-width: 480px;
    margin-inline: auto;
}
.video-content .youtube-consent-placeholder__title {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.2;
}
.video-content .youtube-consent-placeholder__text {
    margin-bottom: 1.5rem;
    color: #c4c4c4;
    font-size: 0.95rem;
    line-height: 1.7;
}
.video-content .youtube-consent-placeholder__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 0.85rem 1.5rem;
    border: 1px solid var(--red, #ed1c24);
    border-radius: 0;
    background: var(--red, #ed1c24);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}
.video-content .youtube-consent-placeholder__button:hover {
    border-color: var(--red-hover, #c71119);
    background: var(--red-hover, #c71119);
}
.video-content .youtube-consent-placeholder__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
.module-kuvia {
	margin-top:1em;
	margin-bottom:1em;
	padding:0.5em;
}
.size-large {
	clear:both!important;
	width:100%;
	margin-top:1em;
	margin-bottom:1em;
	float:left;
}
.size-large img {
	width:100%;
	height:auto;
}
.size-small {
	clear:right!important;
	width:50%;
	float:left!important;
	margin-top:1em;
	margin-bottom:1em;
}
.size-small img {
	width:100%;
	height:auto;
}
.size-large .img-content, .size-small .img-content {
	margin:0.5em;
}
@media screen and (max-width: 576px) {
	.module-youtube, .size-large, .size-small {
		width:100%;
	}
}
.product-detail .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}
.product-detail .gallery > .gallery-image {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
}
.product-detail .gallery-thumb > a {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 3px;
    background: #fff;
    cursor: zoom-in;
}
.product-detail .gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}
.product-detail .gallery-thumb > a:hover,
.product-detail .gallery-thumb > a:focus-visible {
    border-color: var(--red, #ed1c24);
}
.product-detail .gallery-thumb > a:focus-visible {
    outline: 2px solid var(--red-text, #ff6268);
    outline-offset: 3px;
}
.lightbox[data-lightbox-dialog] > .d-flex:has(> button[aria-label="Edellinen kuva"]) {
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line, #3b3c40);
}
.lightbox[data-lightbox-dialog] > .d-flex[hidden] {
    display: none !important;
}
.lightbox[data-lightbox-dialog] button[aria-label="Edellinen kuva"],
.lightbox[data-lightbox-dialog] button[aria-label="Seuraava kuva"] {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid #68696e;
    border-radius: 3px;
    background: var(--surface-light, #242528);
    color: #fff;
    font: 600 24px / 1 Arial, sans-serif;
    cursor: pointer;
}
.lightbox[data-lightbox-dialog] button[aria-label="Edellinen kuva"]:hover,
.lightbox[data-lightbox-dialog] button[aria-label="Seuraava kuva"]:hover {
    border-color: var(--red-hover, #c71119);
    background: var(--red-hover, #c71119);
}
.lightbox[data-lightbox-dialog] button[aria-label="Edellinen kuva"]:focus-visible,
.lightbox[data-lightbox-dialog] button[aria-label="Seuraava kuva"]:focus-visible {
    outline: 2px solid var(--red-text, #ff6268);
    outline-offset: 3px;
}
.lightbox[data-lightbox-dialog][open] {
    display: flex;
    flex-direction: column;
    height: min(840px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
}
.lightbox[data-lightbox-dialog] > .lightbox-top,
.lightbox[data-lightbox-dialog] > .d-flex:has(> button[aria-label="Edellinen kuva"]),
.lightbox[data-lightbox-dialog] > .lightbox-caption {
    flex: 0 0 auto;
}
.lightbox[data-lightbox-dialog] > img[data-lightbox-image] {
    display: block;
    flex: 1 1 0;
    width: 100%;
    height: 0;
    min-height: 0;
    padding: 0;
    object-fit: contain;
}
.lightbox[data-lightbox-dialog] > .lightbox-caption {
    margin: 0;
    padding: 10px 18px 12px;
    overflow-wrap: anywhere;
}
@media (max-height: 720px) {
    .lightbox[data-lightbox-dialog] > .lightbox-top,
    .lightbox[data-lightbox-dialog] > .d-flex:has(> button[aria-label="Edellinen kuva"]) {
        padding-block: 6px;
    }
}
