:root {
    --wl-purple: #9747ff;
    --wl-button: #8e44ad;
    --wl-grey: #efeded;
    --wl-muted: #716d6d;
}

.agency-menu-link {
    display: inline-block;
    border: 1px solid var(--wl-purple);
    border-radius: 8px;
    padding: 0 10px;
    color: #8e44ad;
}

.agency-teaser {
    background: #000;
    color: #fff;
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.agency-teaser h2 { font-family: 'MontserratBold'; font-size: 26px; margin: 0 0 8px; }
.agency-teaser p { margin: 0; color: #ccc; line-height: 1.6; }
.agency-teaser .wl-button { flex-shrink: 0; }
.agency-contact-link { color: #8e44ad; text-decoration: underline; display: inline-block; margin-top: 12px; }
.agency-contact-link[hidden] { display: none; }
.agency-status-field { border: 0; padding: 0; }
.agency-status-field legend { font-size: 16px; margin-bottom: 8px; }
.agency-status-options { display: flex; flex-wrap: wrap; gap: 12px; }
.agency-status-options label { display: inline-flex; align-items: center; gap: 8px; min-width: 92px; padding: 11px 16px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; }
.agency-status-options input { accent-color: #9747ff; width: 18px; height: 18px; margin: 0; }
.agency-status-options label:has(input:checked) { border-color: #9747ff; background: rgba(151, 71, 255, .06); }
.contact-whatsapp-status { max-width: 680px; margin-top: 18px; color: #4c365f; font-size: 14px; line-height: 1.6; }
.contact-whatsapp-status a { color: #7136a5; text-decoration: underline; font-family: 'MontserratBold'; }
.wl-form [data-state='ready'] { color: #d8c7ea; }
header:not(.wl-header) nav { max-width: calc(100% - 330px); }
header:not(.wl-header) nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
header:not(.wl-header) nav > ul > li { float: none; margin-right: 0; }
#footer-privacy > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
#footer-privacy a { top: 0; }
#footer-privacy img { margin-right: 0; }

.wl-page { color: #111; line-height: 1.6; }
#white-label { scroll-margin-top: 120px; }
#white-label .wl-main { height: auto; }
#white-label .wl-section { background-color: #fff; }
#white-label .wl-section.wl-grey { background-color: var(--wl-grey); }
#white-label .wl-section.wl-dark { background-color: #000; }
.wl-page *, .agency-teaser * { box-sizing: border-box; }
.wl-page h1, .wl-page h2, .wl-page h3 { font-family: 'MontserratBold'; line-height: 1.2; letter-spacing: 0; }
.wl-page h2 { font-size: 32px; text-transform: uppercase; margin: 0 0 24px; }
.wl-page h3 { font-size: 19px; margin: 0 0 12px; }
.wl-page p { margin: 0 0 16px; }
.wl-page a:focus-visible, .wl-page button:focus-visible, .wl-page summary:focus-visible, .wl-page input:focus-visible, .wl-page select:focus-visible, .wl-page textarea:focus-visible, .agency-menu-link:focus-visible, .agency-teaser a:focus-visible { outline: 3px solid var(--wl-purple); outline-offset: 4px; }
.wl-header { min-height: 101px; padding: 20px 5%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #eee; background: #fff; position: sticky; top: 0; z-index: 20; }
.wl-logo { display: block; flex-shrink: 0; }
.wl-logo img { width: 260px; max-width: 100%; display: block; }
.wl-header nav { display: flex; align-items: center; gap: 18px; }
.wl-header nav a { font-size: 12px; text-transform: uppercase; font-family: 'MontserratBold'; }
.wl-header nav a:hover { color: var(--wl-button); }
.wl-nav-partner { border: 1px solid var(--wl-purple); border-radius: 8px; padding: 6px 12px; color: var(--wl-button); }
.wl-language { border-left: 1px solid #ddd; padding-left: 16px; }
.wl-menu-toggle { display: none; width: 44px; height: 44px; background: transparent; color: var(--wl-button); border: 1px solid #ddd; border-radius: 8px; align-items: center; justify-content: center; cursor: pointer; }
.wl-inner { width: 90%; max-width: 1180px; margin: 0 auto; }
.wl-section { padding: 72px 0; scroll-margin-top: 120px; }
.wl-dark { background: #000; color: #fff; }
.wl-grey { background: var(--wl-grey); }
.wl-hero { padding: 64px 0 40px; text-align: center; background-image: linear-gradient(rgba(0, 0, 0, .86), rgba(0, 0, 0, .94)), url('../img/sw/programming.jpg'); background-size: cover; background-position: center; }
.wl-kicker { color: var(--wl-purple); font-size: 13px; font-family: 'MontserratBold'; text-transform: uppercase; }
.wl-hero h1 { font-size: 52px; margin: 20px 0 24px; }
.wl-hero h1 span { color: var(--wl-purple); }
.wl-lede { font-family: 'MontserratLight'; font-size: 20px; max-width: 760px; }
.wl-hero .wl-lede { margin: 0 auto 28px; }
.wl-dark .wl-lede { color: #d3d0d6; }
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wl-hero .wl-actions { justify-content: center; }
.wl-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--wl-button); color: #fff; border: 2px solid var(--wl-button); border-radius: 8px; padding: 14px 22px; font: 14px 'MontserratBold'; text-align: center; cursor: pointer; line-height: 1.4; }
.wl-button:hover { background: #773592; border-color: #773592; }
.wl-button svg { width: 20px; height: 20px; flex-shrink: 0; }
.wl-outline { background: transparent; border-color: #aaa; }
.wl-outline:hover { background: #222; border-color: #fff; }
.wl-proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 30px; border-top: 1px solid #444; margin: 36px 0 0; padding: 24px 0 0; font-size: 12px; }
.wl-proof li { display: flex; align-items: center; gap: 8px; }
.wl-proof svg { width: 18px; height: 18px; color: var(--wl-purple); flex-shrink: 0; }
.wl-description { color: var(--wl-muted); font-size: 18px; }
.wl-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.wl-service { border-top: 3px solid var(--wl-purple); background: #fff; padding: 24px; }
.wl-service > svg { width: 30px; height: 30px; color: var(--wl-button); margin-bottom: 18px; }
.wl-service ul { padding-left: 18px; margin: 0; font-size: 14px; color: #555; }
.wl-service li { margin-bottom: 8px; }
.wl-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 36px 0 0; }
.wl-steps li { border-top: 2px solid #111; padding-top: 20px; }
.wl-step-number { color: var(--wl-button); font-family: 'MontserratBold'; font-size: 13px; }
.wl-steps .wl-who { text-transform: uppercase; font-size: 11px; margin: 20px 0 8px; }
.wl-steps li > p:last-child { font-size: 14px; color: #555; }
.wl-guarantee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 36px; }
.wl-guarantee-grid > div { border-left: 2px solid var(--wl-purple); padding-left: 20px; }
.wl-guarantee-grid p { font-size: 14px; color: #c6c2cc; margin: 0; }
.wl-model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 56px; }
.wl-model { border: 1px solid #bbb; background: #fff; padding: 26px; display: flex; flex-direction: column; }
.wl-model > p:not(.wl-kicker) { color: #555; font-size: 14px; }
.wl-model a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: 'MontserratBold'; font-size: 13px; color: var(--wl-button); }
.wl-model a svg { width: 18px; height: 18px; flex-shrink: 0; }
.wl-preferred { border: 2px solid var(--wl-purple); }
.wl-calculator { display: none; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid #bbb; padding-top: 40px; }
.wl-calculator h2 { font-size: 24px; }
.wl-calculator-inputs { display: flex; flex-direction: column; gap: 16px; }
.wl-calculator-inputs label, .wl-form > label:not(.wl-consent) { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.wl-calculator-inputs input, .wl-form input:not([type='checkbox']), .wl-form select, .wl-form textarea { border: 1px solid #aaa; border-radius: 8px; background: #fff; color: #111; font: 16px 'Montserrat'; padding: 12px 14px; width: 100%; min-width: 0; }
.wl-calculator-results { border-left: 3px solid var(--wl-purple); padding-left: 32px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.wl-calculator-results > p { font-size: 13px; }
.wl-calculator-results output { display: block; font-family: 'MontserratBold'; font-size: 40px; color: #803399; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wl-calculator-results .wl-calculator-note { color: #555; margin-top: 12px; }
.wl-faq { max-width: 900px; }
.wl-faq details { border-top: 1px solid #ccc; padding: 20px 0; }
.wl-faq summary { cursor: pointer; font-family: 'MontserratBold'; }
.wl-faq details p { font-size: 15px; margin: 14px 0 0; color: #555; }
.wl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin-top: 32px; }
.wl-full { grid-column: 1 / -1; }
.wl-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wl-form legend { font-size: 13px; padding: 0; margin-bottom: 12px; }
.wl-checkboxes { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.wl-checkboxes label, .wl-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.wl-form input[type='checkbox'] { accent-color: var(--wl-purple); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.wl-consent a { text-decoration: underline; }
.wl-form .wl-button:disabled { opacity: .65; cursor: wait; }
.wl-form [role='status'] { margin: 0; overflow-wrap: anywhere; }
.wl-form [data-state='error'] { color: #ffb8b8; }
.wl-form [data-state='success'] { color: #b0edcd; }
.wl-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-footer { background: #efeded; padding: 36px 0; }
.wl-footer .wl-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 13px; }
.wl-footer img { display: block; max-width: 100%; }
.wl-footer .wl-inner > a:first-child { margin-right: auto; }

@media (max-width: 1250px) {
    .wl-header { flex-wrap: wrap; }
    .wl-header nav { flex-wrap: wrap; }
    .wl-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1251px) and (max-width: 1500px) {
    header:not(.wl-header) #logo-medtech img { width: 215px; }
    header:not(.wl-header) nav { max-width: calc(100% - 245px); }
    header:not(.wl-header) nav > ul > li { font-size: 11px; }
}

@media (max-width: 1250px) {
    header:not(.wl-header) nav { max-width: none; }
    header:not(.wl-header) nav > ul { display: block; }
    #footer-privacy { height: auto; padding: 28px 0; }
}

@media (max-width: 850px) {
    .wl-header { min-height: 80px; padding: 16px 5%; }
    .wl-logo img { width: 230px; }
    .wl-menu-toggle { display: inline-flex; }
    .wl-header nav { width: 100%; gap: 0; flex-direction: column; align-items: stretch; }
    .wl-header nav a { padding: 12px; }
    .wl-header nav .wl-language { border: 0; }
    .wl-page.wl-js .wl-header nav { display: none; }
    .wl-page.wl-js .wl-header nav.is-open { display: flex; max-height: calc(100dvh - 100px); overflow-y: auto; }
    .wl-hero h1 { font-size: 38px; }
    .wl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wl-guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wl-model-grid { grid-template-columns: 1fr; }
    .agency-teaser { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 550px) {
    .wl-section { padding: 48px 0; }
    .wl-hero { padding: 44px 0 32px; }
    .wl-hero h1 { font-size: 30px; }
    .wl-page h2 { font-size: 24px; }
    .wl-lede { font-size: 17px; }
    .wl-actions { align-items: stretch; flex-direction: column; }
    .wl-proof { align-items: flex-start; flex-direction: column; }
    .wl-service-grid, .wl-guarantee-grid, .wl-calculator, .wl-form { grid-template-columns: 1fr; }
    .wl-calculator { gap: 24px; }
    .wl-calculator-results { padding-left: 20px; }
    .wl-calculator-results output { font-size: 32px; }
    .wl-logo img { width: 200px; }
    .wl-steps { gap: 22px 16px; }
    .wl-steps h3 { font-size: 16px; }
    .wl-header { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}