/* DATABASE-WORKSHOPDATA — storefront redesign v2 (2026-10-30).
   Scope: homepage templates ONLY. Checkout, payments and account systems unchanged.
   Palette intentionally derived from live production application: red / charcoal / white. */
:root {
  --dw-red: #d61018;
  --dw-red-hover: #b80a12;
  --dw-deep-red: #aa0810;
  --dw-charcoal: #303032;
  --dw-ink: #202124;
  --dw-muted: #62676d;
  --dw-line: #e1e3e6;
  --dw-surface: #ffffff;
  --dw-soft: #f5f6f7;
  --dw-soft-gray: #eaeced;
}
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body { background: var(--dw-surface); color: var(--dw-ink); font-family: Inter, Arial, Helvetica, sans-serif; }
body, body * { box-sizing: border-box; }
#lh-root { overflow-x: clip; }
a, button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #e23437; outline-offset: 3px; }
::selection { background: #ffced1; color: #171717; }
.eyebrow, .section-index { font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.eyebrow { color: var(--dw-red); }
.section { padding: 88px max(5vw, calc((100vw - 1300px)/2)); }
.section h2, .final-cta h2 { color: var(--dw-ink); font-size: clamp(28px, 2.8vw, 43px); font-weight: 800; letter-spacing: -.037em; line-height: 1.13; }
.section h3 { color: #232529; }
.section p { color: var(--dw-muted); }
.button { border-radius: 5px; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--dw-red); border-color: var(--dw-red); box-shadow: 0 8px 18px #c600181a; }
.button.primary:hover { background: var(--dw-red-hover); border-color: var(--dw-red-hover); box-shadow: 0 10px 22px #bc081f26; }
.button.subtle, .button.secondary { color: var(--dw-ink); border: 1px solid #c8cdd2; background: #fff; }
.button.subtle:hover, .button.secondary:hover { border-color: var(--dw-red); color: var(--dw-red); background: #fff; }

/* Production-style double navigation bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 112px;
  min-height: 112px;
  padding: 0 max(5vw, calc((100vw - 1300px)/2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 68px 44px;
  gap: 0 20px;
  align-items: center;
  color: #fff;
  background: linear-gradient(to bottom, #e0181e 0, #c80c14 68px, var(--dw-charcoal) 68px, var(--dw-charcoal) 100%);
  border-bottom: 1px solid #1f2020;
  box-shadow: 0 3px 15px #00000018;
}
.site-header > .brand { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.08; font-weight: 850; letter-spacing: -.04em!important; color: #fff; min-width: 0; }
.site-header > .brand img { width: 48px; height: 37px; object-fit: contain; padding: 4px 3px; background: transparent; filter: brightness(0) invert(1); border-radius: 4px; }
.site-header > .brand span, .site-header > .brand strong { color: #fff; font-size: inherit; }
.site-header .nav-links { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: flex-start; gap: 34px; align-self: stretch; color: #fff; margin: 0; padding: 0; border: 0; }
.site-header .nav-links a { font-size: 13px; font-weight: 650; color: #f2f2f2; display: inline-flex; height: 100%; align-items: center; border-bottom: 2px solid transparent; }
.site-header .nav-links a:hover, .site-header .nav-links a:focus-visible { color: #fff; border-bottom-color: #f5b1b1; }
.site-header .header-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.site-header .login-link { color: #fff; font-size: 13px; font-weight: 650; }
.site-header .login-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.site-header .header-buy { color: var(--dw-red); background: #fff; border: 1px solid #fff; font-size: 13px; min-height: 39px; box-shadow: none; }
.site-header .header-buy:hover { color: #fff; background: #a80a10; border-color: #fff; }
.site-header .selector { color: #fff!important; background: #ffffff18!important; border: 1px solid #ffffff65!important; min-height: 38px; box-shadow: none!important; }
.site-header .selector svg { color: #fff!important; }
.site-header .mobile-menu { color: #fff; }
.skip-link:focus { top: 8px; z-index: 1000; }

/* The information architecture is rearranged without changing the live commerce widgets. */
main#main { display: flex; flex-direction: column; }
main#main > .hero { order: 0; }
main#main > .pricing-section { order: 1; }
main#main > .product-section { order: 2; }
main#main > .benefit-section { order: 3; }
main#main > .brand-directory { order: 4; }
main#main > .how-section { order: 5; }
main#main > .faq-section { order: 6; }
main#main > .final-cta { order: 7; }

/* Bright product-first hero with the genuine application screenshot. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 86px max(5vw, calc((100vw - 1300px)/2)) 91px;
  min-height: 590px;
  position: relative;
  overflow: hidden;
  color: var(--dw-ink);
  background: radial-gradient(circle at 84% 7%, #fff 0, #f8f9f9 43%, #f1f2f3 100%);
}
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--dw-red); }
.hero::after { content: ""; position: absolute; right: -140px; top: -190px; width: 580px; height: 580px; border: 1px solid #dfe2e3; border-radius: 50%; pointer-events: none; opacity: .48; }
.hero-copy, .hero-product { position: relative; z-index: 1; min-width: 0; }
.hero .eyebrow { color: #bb0b14; font-size: 11px; font-weight: 850; letter-spacing: .14em; margin-bottom: 24px; }
.hero .eyebrow:before, .hero .eyebrow > span { background: var(--dw-red); }
.hero h1 { max-width: 660px; margin: 0; font-size: clamp(36px, 4vw, 61px); font-weight: 830; line-height: 1.115; letter-spacing: -.048em; color: #1e2022; }
.hero h1 span { color: var(--dw-red); }
.hero p.hero-description { font-size: clamp(16px, 1.32vw, 18px); line-height: 1.75; max-width: 550px; margin: 25px 0 30px; color: #50565c!important; opacity: 1!important; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-ctas .button { font-weight: 760; min-height: 51px; padding: 13px 20px; }
.hero .hero-promise { color: #454c51; font-weight: 650; font-size: 13px; margin-top: 22px; }
.hero .hero-promise svg { color: var(--dw-red); }
.hero .hero-meta { border-top: 1px solid #dadddf; color: #656a70; margin-top: 29px; padding-top: 21px; display: flex; flex-wrap: wrap; gap: 12px 25px; font-size: 12px; }
.hero .hero-meta svg { color: var(--dw-red); }
.hero .hero-brands-link { color: #ba0714; margin-top: 17px; font-weight: 760; text-decoration-thickness: 1px; }
.hero-product { margin: 0; padding: 0 0 26px; align-self: center; }
.product-window {
  width: 100%;
  background: #fff;
  border: 1px solid #cbd0d3;
  border-radius: 10px;
  transform: none;
  overflow: hidden;
  box-shadow: 0 26px 52px #18191b23, 0 2px 7px #16171915;
}
.window-bar { height: 40px; padding: 0 13px; background: #303033; color: #eceded; border-bottom: 1px solid #161616; }
.window-bar .window-dots i { background: #a4a5a7; }
.product-window picture { display: block; background: #fff; overflow: hidden; }
.product-window picture img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 2160/1350; object-fit: cover; object-position: center top; }
.product-caption { margin-top: 17px; color: #646a70; font-size: 12px; }
.product-caption .caption-line { background: var(--dw-red); }
.hero-period { display: none!important; }

/* Real software gallery: readable, no confusing login-centric hero. */
.product-section {
  display: grid;
  grid-template-columns: minmax(230px, .38fr) minmax(0, .62fr);
  align-items: start;
  gap: clamp(28px, 4vw, 74px);
  background: #fff;
  border-top: 1px solid var(--dw-line);
  border-bottom: 1px solid var(--dw-line);
}
.product-intro { padding-top: 20px; position: sticky; top: 145px; }
.product-intro .eyebrow { color: var(--dw-red); font-size: 11px; }
.product-intro h2 { max-width: 480px; margin: 20px 0 20px; }
.product-intro p { max-width: 430px; font-size: 16px; line-height: 1.82; }
.product-gallery { max-width: 100%; }
#product .product-gallery { background: #fff!important; color: #272a2d!important; border: 1px solid #e1e3e6; padding: 22px; border-radius: 9px; box-shadow: 0 9px 28px #191c2010; }
#product .gallery-toolbar { color: #33383b!important; font-weight: 750; border-bottom: 1px solid var(--dw-line); padding-bottom: 14px; }
#product .ad24-gallery-scope { color: #616970!important; opacity: 1!important; }
#product .gallery-feature figcaption { background: #fff!important; color: #292d31!important; }
#product .gallery-feature figcaption p { color: #646b70!important; }
#product .gallery-feature figcaption h3 { color: #26282a!important; }
#product .ad24-group-heading { color: #2d3237!important; }
#product .gallery-thumbnail { background: #fff!important; }
.gallery-toolbar { color: #454b51; font-weight: 750; border-bottom: 1px solid var(--dw-line); padding-bottom: 14px; }
.ad24-gallery-scope { font-size: 13px; color: #6b7077!important; }
.gallery-feature { border: 1px solid #dadfe2; background: #fff; border-radius: 8px; box-shadow: 0 14px 34px #26303611; }
.gallery-image { background: #f4f4f4; border-radius: 6px; }
.gallery-feature figcaption { background: #fff; color: var(--dw-ink); }
.gallery-kicker { color: #b80b14!important; font-weight: 740; }
.gallery-controls button { border-radius: 5px!important; }
.gallery-controls button:hover { border-color: var(--dw-red)!important; color: var(--dw-red); }
.gallery-thumbnail { border-radius: 6px!important; overflow: hidden; border-color: #d6d9dc!important; }
.gallery-thumbnail:hover, .gallery-thumbnail.is-selected { border-color: var(--dw-red)!important; box-shadow: 0 0 0 1px #d610183d; }
.ad24-media-group { margin-top: 25px; }

/* Pricing gets priority in the buying journey, with explicit currency and term. */
.pricing-section { background: #f3f4f5; border-bottom: 1px solid #dddfe1; }
.pricing-heading { align-items: end; gap: 24px; }
.pricing-heading .eyebrow { color: var(--dw-red); }
.pricing-heading p { max-width: 650px; }
.market-select { background: #fff; border: 1px solid #d8dbdf; border-radius: 6px; padding: 10px 12px; }
.market-select > span { color: #585e62; font-size: 12px; font-weight: 650; }
.market-select .market-trigger { color: var(--dw-ink); border-color: #d3d7da; }
.scope-tabs [role="tablist"] { background: #e6e7e9; border-radius: 6px; padding: 4px; }
.scope-tabs [role="tab"] { border-radius: 4px; font-size: 13px; min-height: 36px; }
.scope-tabs [role="tab"][data-state="active"] { color: #fff!important; background: var(--dw-charcoal)!important; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: 34px; }
.price-card {
  position: relative;
  min-width: 0;
  border: 1px solid #dadddf;
  background: #fff;
  border-radius: 8px;
  padding: 30px 24px;
  box-shadow: 0 4px 12px #1d1e2110;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 13px 27px #27282b1b; }
.price-card.recommended { border: 2px solid var(--dw-red); box-shadow: 0 15px 32px #ac11171c; }
.price-card.recommended:hover { transform: translateY(-4px); }
.price-card .plan-topline { color: #202124; font-weight: 800; }
.price-card .plan-description { color: #697077; min-height: 47px; }
.price-card .price { color: #1e2021; font-size: clamp(30px, 2.8vw, 41px); font-weight: 820; letter-spacing: -.05em; }
.price-card .price-note, .price-card .equivalent { color: #747980; }
.price-card .plan-includes { color: #40474d; }
.price-card .plan-includes svg { color: var(--dw-red); }
.price-card .button.secondary { color: var(--dw-charcoal); background: #fff; border: 1px solid #c5c9cd; font-weight: 760; }
.price-card .button.secondary:hover { border-color: var(--dw-red); color: var(--dw-red); }
.price-card .button.primary { color: #fff; background: var(--dw-red); }
.recommend-label, .trial-tag { background: var(--dw-red)!important; color: #fff!important; border-radius: 4px!important; }
.availability-note, .payment-footnote { color: #62676d; }
.payment-footnote img { max-width: 155px; }

/* Compact benefits rather than huge generic marketing blocks. */
.benefit-section { background: #fff; }
.benefit-section .section-heading h2 { max-width: 920px; font-size: clamp(28px, 3vw, 40px); }
.benefit-grid { margin-top: 35px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.benefit-grid article { border: 1px solid var(--dw-line); border-radius: 7px; padding: 28px; background: #fff; }
.benefit-grid .feature-icon { background: #fff1f2; color: var(--dw-red); border-color: #ffdade; border-radius: 6px; width: 48px; height: 48px; margin-bottom: 19px; }
.benefit-grid h3 { font-size: 19px; font-weight: 760; }
.benefit-grid p { color: #646b72; font-size: 14px; line-height: 1.75; }

/* Brand coverage and functional search remain intact. */
.brand-directory { background: #f7f8f8; border-block: 1px solid #e5e6e8; }
.brand-directory h2 { max-width: 730px; }
.brand-directory-heading p, .brand-directory-notes p { color: #71767a; }
.brand-search input { border-color: #cdd0d4!important; background: #fff; color: #222; border-radius: 5px; }
.brand-search input:focus { outline-color: var(--dw-red); }
.brand-list li { border: 1px solid #e0e2e4; background: #fff; color: #2d3338; border-radius: 5px; font-weight: 650; }
.brand-expand { color: var(--dw-red); border-color: #d1d4d6; border-radius: 4px; }
.brand-expand:hover { background: #fff; border-color: var(--dw-red); }

/* Clear process / FAQ / final CTA */
.how-section { background: #fff; }
.steps { gap: 16px; }
.steps li { border: 1px solid #e0e2e5; border-radius: 7px; padding: 26px; background: #fff; }
.step-number { color: var(--dw-red)!important; font-weight: 850; }
.steps h3 { font-size: 19px; }
.faq-section { background: #f8f9f9; border-top: 1px solid #e3e5e6; }
.faq-section summary { color: #25282b; font-weight: 720; }
.faq-section details { border-color: #e0e1e3!important; background: #fff; border-radius: 5px; }
.faq-section details[open] { border-color: #d2d4d6!important; }
.faq-section summary svg { color: var(--dw-red); }
.faq-section .text-link { color: var(--dw-red); }
.final-cta { padding: 58px max(5vw, calc((100vw - 1300px)/2)); color: #fff; background: linear-gradient(115deg, #313234, #202123); border-top: 5px solid var(--dw-red); }
.final-cta h2 { color: #fff; font-size: clamp(27px, 2.4vw, 37px); }
.final-cta p { color: #cbd0d3; }
.final-cta .button.primary { background: var(--dw-red); border-color: var(--dw-red); }

/* Footer matches product's graphite navigation; all legal links retained. */
.site-footer { background: #27282a; color: #c9cdd0; padding: 49px max(5vw, calc((100vw - 1300px)/2)) 22px; }
.site-footer .footer-top .brand { color: #fff; font-size: 19px!important; }
.site-footer .footer-top .brand strong { color: #fff; }
.site-footer .footer-top > p { color: #b8bdc0; }
.site-footer .footer-top > a:last-child { color: #fff; }
.site-footer .footer-links { border-top: 1px solid #ffffff22; padding-top: 24px; margin-top: 34px; }
.site-footer .footer-links a, .site-footer .footer-links button { color: #e7e9ea; }
.site-footer .footer-links a:hover, .site-footer .footer-links button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top-color: #ffffff1a!important; color: #aeb5b9; }

/* Tablet and mobile: no horizontal carousel overflow, clear primary CTA. */
@media (max-width: 1180px) {
  .site-header > .brand { font-size: 16px; }
  .site-header .header-actions { gap: 10px; }
  .hero { gap: 30px; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); }
  .hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
  .price-card { padding: 24px 18px; }
  .product-section { grid-template-columns: .42fr .58fr; gap: 30px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 90px; }
  .site-header {
    position: sticky; display: flex; justify-content: space-between; align-items: center;
    flex-wrap: nowrap; height: 70px; min-height: 70px; padding: 0 22px;
    background: linear-gradient(110deg, #d8161d, #b90810);
  }
  .site-header > .brand { font-size: 15px!important; letter-spacing: -.035em!important; flex: 0 1 auto; }
  .site-header > .brand img { width: 37px; height: 31px; }
  .site-header .nav-links { display: none; }
  .site-header .header-actions { display: flex; flex: 0 0 auto; gap: 9px; }
  .site-header .mobile-menu { display: inline-flex; align-items: center; justify-content: center; padding: 5px; }
  .site-header .selector { min-width: 63px; padding: 6px!important; }
  .site-header .header-buy { min-height: 34px; padding: 8px 11px; }
  .hero { grid-template-columns: 1fr; gap: 43px; padding: 58px 32px 70px; }
  .hero-copy { max-width: 750px; }
  .hero-product { width: min(100%, 700px); margin-inline: auto; padding-bottom: 0; }
  .section { padding: 66px 32px; }
  .product-section { grid-template-columns: 1fr; }
  .product-intro { position: static; padding-top: 0; }
  .product-gallery { max-width: 760px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid article:last-child { grid-column: 1/-1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .final-cta { padding: 52px 32px; }
}
@media (max-width: 610px) {
  .site-header { padding: 0 15px; height: 68px; min-height: 68px; gap: 8px; }
  .site-header > .brand { font-size: 12px!important; gap: 6px; line-height: 1.13; }
  .site-header > .brand span { max-width: 154px; font-size: inherit!important; }
  .site-header > .brand strong { font-size: inherit!important; }
  .site-header > .brand img { width: 33px; height: 30px; flex: none; padding: 4px 2px; }
  .site-header .header-actions { gap: 5px; }
  .site-header .header-buy { display: none; }
  .site-header .login-link { display: inline-block; color: #fff; font-size: 11px; }
  .site-header .selector { min-width: 59px; min-height: 34px; font-size: 11px; }
  .site-header .mobile-menu { padding: 5px; }
  .hero { padding: 46px 20px 54px; gap: 32px; }
  .hero .eyebrow { margin-bottom: 17px; font-size: 10px; }
  .hero h1 { font-size: clamp(34px, 9vw, 43px); letter-spacing: -.049em; line-height: 1.12; }
  .hero .hero-description { font-size: 15px; line-height: 1.65; margin: 21px 0 25px; }
  .hero-ctas { gap: 9px; }
  .hero-ctas .button { flex: 1 1 auto; min-width: 0; min-height: 47px; font-size: 12px; padding: 12px 9px; }
  .hero .hero-meta { gap: 11px; font-size: 11px; }
  .hero .hero-promise { font-size: 12px; }
  .product-window { border-radius: 6px; }
  .window-bar { height: 32px; padding: 0 9px; font-size: 9px; }
  .product-window picture { max-height: 272px; }
  .product-window picture img { aspect-ratio: 1.55; object-fit: cover; object-position: left top; }
  .product-caption { font-size: 10px; margin-top: 13px; }
  .section { padding: 52px 20px; }
  .section h2 { font-size: clamp(27px, 7vw, 34px); }
  .product-intro p { font-size: 14px; }
  .gallery-feature figcaption { padding: 15px!important; }
  .gallery-thumbnails { max-width: 100%; overflow-x: auto; }
  .pricing-heading { flex-direction: column; align-items: stretch; }
  .market-select { width: 100%; }
  .price-grid { grid-template-columns: 1fr; gap: 13px; }
  .price-card { padding: 23px; }
  .price-card .plan-description { min-height: auto; }
  .price-card .price { font-size: 37px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-grid article:last-child { grid-column: auto; }
  .benefit-grid article { padding: 23px; }
  .brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-list li { font-size: 11px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { padding: 20px; }
  .faq-section { display: block; }
  .faq-section > div:first-child { margin-bottom: 20px; }
  .final-cta { padding: 43px 20px; display: block; }
  .final-cta h2 { font-size: 28px; }
  .final-cta .button { margin-top: 18px; width: 100%; }
  .site-footer { padding: 44px 20px 25px; }
  .footer-top { display: flex; flex-direction: column; gap: 17px; }
  .footer-top > a:last-child { text-align: left!important; }
  .footer-links { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .price-card { transition: none!important; }
}

/* Preserve the existing hydrated hamburger's .is-open state in every locale. */
@media (max-width: 900px) {
  .site-header .nav-links.is-open {
    display: flex!important;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 65;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 16px;
    background: #303033;
    border-top: 1px solid #ffffff30;
    box-shadow: 0 12px 25px #0003;
  }
  .site-header .nav-links.is-open a {
    display: flex!important;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    width: 100%;
    padding: 8px 3px;
    border-bottom: 1px solid #ffffff22;
    font-size: 14px;
    color: #fff;
  }
}
@media (max-width: 610px) {
  .site-header .nav-links.is-open { top: 68px; padding: 7px 17px 15px; }
}
@media (max-width: 360px) {
  .site-header .login-link { display: none; }
}

/* Render the genuine product catalogue instantly without touching the
   server-rendered React DOM before hydration. The layer clears only after the
   localized full-resolution image has decoded. */
.hero-product .product-window picture { position: relative; isolation: isolate; }
.hero-product .product-window picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: #fff url("/assets/pl/product-dw-20261030/brands-catalog.webp") center top / cover no-repeat;
}
html[lang="en"] .hero-product .product-window picture::after {
  background-image: url("/assets/en/product-dw-20261030/brands-catalog.webp");
}
html[lang="de"] .hero-product .product-window picture::after {
  background-image: url("/assets/de/product-dw-20261030/brands-catalog.webp");
}
.hero-product .product-window picture[data-dw-ready="true"]::after { display: none; }
