/* DateWash approved native-app visual language — homepage only. No checkout JS changes. */
body.dw-web-app-home .datewash-screen[data-screen="postcode"] .datewash-hero {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 1260px !important;
  min-height: 0 !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.dw-web-app-home .datewash-screen[data-screen="postcode"] .datewash-hero::before,
body.dw-web-app-home .datewash-screen[data-screen="postcode"] .datewash-hero::after { display: none !important; }
body.dw-web-app-home .datewash-hero-media,
body.dw-web-app-home .datewash-weekly-carousel { display:none !important; }

body.dw-web-app-home .dw-app-home-hero {
  position: relative;
  width: 100%;
  height: clamp(440px,46vw,570px);
  overflow: hidden;
  background: #09292e;
  border-radius: 25px;
  isolation: isolate;
}
body.dw-web-app-home .dw-app-home-viewport,
body.dw-web-app-home .dw-app-home-slide { position:absolute; inset:0; width:100%; height:100%; }
body.dw-web-app-home .dw-app-home-slide {
  display: none;
  background-position: center center;
  background-size: cover;
  color:#fff;
}
body.dw-web-app-home .dw-app-home-slide.is-active { display: block; animation:dw-hero-enter .28s ease-out; }
@keyframes dw-hero-enter {from{opacity:.8} to{opacity:1}}
body.dw-web-app-home .dw-app-home-copy {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  width:100%;
  height:100%;
  padding:34px clamp(25px,4.5vw,64px) 90px;
}
body.dw-web-app-home .dw-app-home-top {
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  font-size:12px; font-weight:800; letter-spacing:.14em;
}
body.dw-web-app-home .dw-app-home-kicker { text-transform:uppercase; color:#fff; }
body.dw-web-app-home .dw-app-home-kicker::first-letter { color:#c5f75f; }
body.dw-web-app-home .dw-app-home-counter {font-variant-numeric:tabular-nums;font-size:13px;letter-spacing:.07em;opacity:.9}
body.dw-web-app-home .dw-app-home-bottom { max-width:720px; }
body.dw-web-app-home .dw-app-home-amount {display:flex;align-items:baseline;gap:3px;color:#c5f75f;margin-bottom:-10px;font-weight:900;letter-spacing:-.07em;line-height:1}
body.dw-web-app-home .dw-app-home-amount strong {font-size:clamp(103px,12vw,169px);font-weight:900}
body.dw-web-app-home .dw-app-home-amount > span:not(.dw-app-home-small) {font-size:clamp(65px,8vw,100px);font-weight:900}
body.dw-web-app-home .dw-app-home-amount .dw-app-home-small {font-size:18px;letter-spacing:.08em;align-self:center;margin-left:10px}
body.dw-web-app-home .dw-app-home-caption {color:#c5f75f;letter-spacing:.17em;font-size:12px;font-weight:900;margin-bottom:15px}
body.dw-web-app-home .dw-app-home-slogan {display:flex;flex-direction:column;gap:0;color:#c5f75f;line-height:1.07;font-weight:900;letter-spacing:-.035em;margin-bottom:18px}
body.dw-web-app-home .dw-app-home-slogan span {font-size:clamp(41px,5.7vw,77px)}
body.dw-web-app-home .dw-app-home-title {color:#fff !important;font-weight:900 !important;font-size:clamp(26px,3.4vw,45px)!important;line-height:1.1!important;letter-spacing:-.035em!important;margin:0 0 11px!important;max-width:730px}
body.dw-web-app-home .dw-app-home-description {color:rgba(255,255,255,.92);font-size:clamp(13px,1.45vw,18px);line-height:1.42;max-width:650px;margin:0 0 22px}
body.dw-web-app-home .dw-app-home-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body.dw-web-app-home .dw-app-home-main-cta,
body.dw-web-app-home .dw-app-home-code {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:0 22px;border-radius:99px;
  font-family:inherit;font-size:15px;font-weight:900;text-decoration:none;
  cursor:pointer;line-height:1.25;
}
body.dw-web-app-home .dw-app-home-main-cta {background:#c5f75f;color:#09292e;border:2px solid #c5f75f}
body.dw-web-app-home .dw-app-home-code {color:#fff;background:#ffffff1c;border:1px solid #ffffff85}
body.dw-web-app-home .dw-app-home-code-label {font-size:12px;cursor:default}
body.dw-web-app-home .dw-app-home-main-cta:hover {background:#e1ffad;border-color:#e1ffad}
body.dw-web-app-home .dw-app-home-code:hover {background:#ffffff33}
body.dw-web-app-home .dw-app-home-main-cta:focus-visible,
body.dw-web-app-home .dw-app-home-code:focus-visible,
body.dw-web-app-home .dw-app-home-dot:focus-visible,
body.dw-web-app-home .dw-app-home-arrow:focus-visible {outline:3px solid white;outline-offset:3px}
body.dw-web-app-home .dw-app-home-controls {
  position:absolute;right:40px;bottom:108px;display:flex;gap:9px;z-index:1
}
body.dw-web-app-home .dw-app-home-arrow {width:43px;height:43px;border-radius:50%;border:1px solid #ffffff88;background:#ffffff22;color:#fff;font-size:24px;cursor:pointer}
body.dw-web-app-home .dw-app-home-arrow:hover {background:#ffffff44}
body.dw-web-app-home .dw-app-home-dots {position:absolute;bottom:110px;left:clamp(25px,4.5vw,64px);display:flex;gap:8px;z-index:1}
body.dw-web-app-home .dw-app-home-dot {width:9px;height:5px;padding:0;border:0;border-radius:6px;background:#ffffff80;cursor:pointer}
body.dw-web-app-home .dw-app-home-dot.is-active {width:32px;background:#c5f75f}

/* The real, unchanged DateWash mode switch and postcode form become the overlapping app card. */
body.dw-web-app-home .datewash-hero-copy {
  position:relative !important;z-index:4!important;
  box-sizing:border-box!important;
  width:min(630px,calc(100% - 38px))!important;
  min-width:0!important;
  max-width:none!important;
  margin:-69px auto 0!important;
  padding:25px 29px 28px!important;
  background:#fff!important;
  border:1px solid #0c4e5b16!important;
  border-radius:26px!important;
  box-shadow:0 22px 50px #0b333d2b!important;
  color:#223039!important;
}
body.dw-web-app-home .datewash-hero-copy > .datewash-kicker {
  color:#14758a!important;letter-spacing:.14em!important;font-size:11px!important;font-weight:900!important;
  margin:0 0 8px!important
}
body.dw-web-app-home .datewash-hero-copy > h1 {
  color:#223039!important;line-height:1.07!important;letter-spacing:-.035em!important;
  font-size:clamp(23px,2.8vw,31px)!important;font-weight:900!important;max-width:530px!important;
  margin:0 0 17px!important;text-wrap:balance
}
body.dw-web-app-home .datewash-hero-copy > .datewash-hero-text,
body.dw-web-app-home .datewash-hero-copy > .datewash-hero-flow {display:none!important}
body.dw-web-app-home .datewash-home-fulfillment {margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.dw-web-app-home .datewash-home-fulfillment-heading {display:none!important}
body.dw-web-app-home .datewash-home-mode-picker {display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0 0 13px!important}
body.dw-web-app-home .datewash-home-mode-picker button {
  min-width:0!important;min-height:44px!important;padding:8px 12px!important;border-radius:99px!important;
  box-shadow:none!important;border:1px solid #e5f1f2!important;background:#f3fbfc!important;
  display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;
  color:#146b7d!important;font-size:13px!important;text-align:center!important
}
body.dw-web-app-home .datewash-home-mode-picker button.is-selected {background:#16748b!important;color:white!important;border-color:#16748b!important}
body.dw-web-app-home .datewash-home-mode-picker button .datewash-home-mode-icon {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:auto!important;border:0!important;background:transparent!important;color:inherit!important;font-size:16px!important;margin:0!important;padding:0!important}
body.dw-web-app-home .datewash-home-mode-picker button span strong {font-size:13px!important;font-weight:800!important;color:inherit!important}
body.dw-web-app-home .datewash-home-mode-picker button span small,
body.dw-web-app-home .datewash-home-mode-picker button b {display:none!important}
body.dw-web-app-home .datewash-postcode-form {
  max-width:none!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important
}
body.dw-web-app-home .datewash-postcode-heading {display:none!important}
body.dw-web-app-home .datewash-input-row {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}
body.dw-web-app-home #datewash-postcode {
  height:56px!important;min-height:56px!important;width:100%!important;
  border:1px solid #d9e6e9!important;background:#f4fbfc!important;border-radius:16px!important;
  padding:0 18px!important;font-size:17px!important;font-weight:700!important;box-shadow:none!important
}
body.dw-web-app-home .datewash-input-row button[type="submit"] {
  min-width:204px!important;height:56px!important;border:0!important;border-radius:16px!important;
  padding:0 18px!important;background:#c5f75f!important;color:#09292e!important;
  font-size:15px!important;font-weight:900!important;box-shadow:none!important
}
body.dw-web-app-home .datewash-input-row button[type="submit"]:hover {background:#deffab!important}
body.dw-web-app-home .datewash-home-branch-panel {margin:0!important}
body.dw-web-app-home .datewash-home-branch-summary {min-height:60px!important;max-width:none!important;width:100%!important;background:#f3fbfc!important;border:1px solid #d9e6e9!important;border-radius:16px!important}
body.dw-web-app-home .datewash-message {margin:9px 0 0!important}
body.dw-web-app-home .datewash-interest-panel {margin-top:16px!important}
body.dw-web-app-home .datewash-extras {display:none!important}

@media (max-width:740px) {
 body.dw-web-app-home .datewash-screen[data-screen="postcode"] .datewash-hero {
   width:calc(100% + 24px)!important;margin-left:-12px!important;margin-right:-12px!important
 }
 body.dw-web-app-home .dw-app-home-hero {height:430px;border-radius:0!important}
 body.dw-web-app-home .dw-app-home-copy {padding:25px 24px 78px}
 body.dw-web-app-home .dw-app-home-amount strong {font-size:112px}
 body.dw-web-app-home .dw-app-home-amount > span:not(.dw-app-home-small) {font-size:64px}
 body.dw-web-app-home .dw-app-home-amount .dw-app-home-small {font-size:13px}
 body.dw-web-app-home .dw-app-home-caption {font-size:10px;letter-spacing:.12em;margin-bottom:9px}
 body.dw-web-app-home .dw-app-home-slogan span {font-size:clamp(33px,9.2vw,47px)}
 body.dw-web-app-home .dw-app-home-title {font-size:27px!important;margin-bottom:8px!important}
 body.dw-web-app-home .dw-app-home-description {font-size:12px;line-height:1.4;margin-bottom:15px}
 body.dw-web-app-home .dw-app-home-main-cta,body.dw-web-app-home .dw-app-home-code {font-size:12px;min-height:43px;padding:0 13px}
 body.dw-web-app-home .dw-app-home-actions {gap:8px}
 body.dw-web-app-home .dw-app-home-code-label {font-size:10px}
 body.dw-web-app-home .dw-app-home-dots {bottom:43px;left:24px}
 body.dw-web-app-home .dw-app-home-controls {bottom:30px;right:20px}
 body.dw-web-app-home .dw-app-home-arrow {height:35px;width:35px;font-size:18px}
 body.dw-web-app-home .datewash-hero-copy {width:calc(100% - 34px)!important;margin:-33px auto 0!important;padding:20px!important;border-radius:24px!important}
 body.dw-web-app-home .datewash-hero-copy>h1 {font-size:23px!important}
 body.dw-web-app-home .datewash-input-row {grid-template-columns:1fr!important}
 body.dw-web-app-home .datewash-input-row button[type="submit"] {width:100%!important;min-width:0!important;height:50px!important}
 body.dw-web-app-home .datewash-home-mode-picker button {padding:8px 6px!important;font-size:12px!important}
 body.dw-web-app-home .datewash-home-mode-picker button span strong {font-size:12px!important}
}
@media (prefers-reduced-motion:reduce) {
 body.dw-web-app-home .dw-app-home-slide.is-active {animation:none}
}

/* Keep both the campaign and the full postcode card in a standard desktop viewport. */
@media (min-width:741px) {
 body.dw-web-app-home .dw-app-home-hero {height:480px}
 body.dw-web-app-home .dw-app-home-amount strong {font-size:132px}
 body.dw-web-app-home .dw-app-home-amount > span:not(.dw-app-home-small) {font-size:80px}
 body.dw-web-app-home .dw-app-home-title {font-size:35px!important}
 body.dw-web-app-home .dw-app-home-slogan span {font-size:56px}
 body.dw-web-app-home .dw-app-home-copy {padding-bottom:80px}
 body.dw-web-app-home .dw-app-home-dots {bottom:77px}
 body.dw-web-app-home .dw-app-home-controls {bottom:73px}
 body.dw-web-app-home .datewash-hero-copy {margin-top:-58px!important}
}
@media (max-width:380px) {
 body.dw-web-app-home .datewash-home-mode-picker button span strong {font-size:11px!important}
 body.dw-web-app-home .dw-app-home-main-cta {padding:0 12px!important}
}


/* DateWash 1.0.2: first paint uses campaign-look placeholder instead of legacy hero */
body.dw-web-app-home.dw-app-home-loading .datewash-screen[data-screen="postcode"] .datewash-hero::before {
  content: "WINTER DEAL · −10 %\A GUTSCHEIN WINTER10" !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  width: 100% !important;
  height: clamp(440px,46vw,570px) !important;
  flex: 0 0 auto;
  padding: clamp(25px,6vw,68px);
  box-sizing: border-box;
  border-radius: 25px;
  color: #e0ff9b;
  white-space: pre-line;
  font-size: clamp(28px,5.2vw,64px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.045em;
  background: linear-gradient(90deg,rgba(9,41,46,.84) 0%,rgba(9,41,46,.24) 80%), url("https://www.datewash.de/wp-content/plugins/datewash-campaigns/assets/winter.jpg") center/cover no-repeat;
}
@media (max-width:760px) {
  body.dw-web-app-home.dw-app-home-loading .datewash-screen[data-screen="postcode"] .datewash-hero::before {
    height: 430px !important; border-radius: 0; font-size: 34px;
  }
}
