/* Temporary campaign skin. Only .halloween-page / .halloween-flow are affected. */
.halloween-page,
.halloween-flow,
body.phone-match-page.halloween-flow{
  --primary:#ffba4b;
  --primary-dark:#a45b13;
  --primary-soft:#fff1d9;
  --hw-amber:#ffbd59;
  --hw-dark:#201b16;
  --hw-muted:#e0d3c2;
}
html.halloween-active{background:#fbf6ee}
body.halloween-page{background:#fbf6ee}
.halloween-page .topbar{position:relative;height:72px;background:#fbf6ee}
.halloween-page .brand-mark,
.halloween-flow .brand-mark{border-color:#e43461!important}
.halloween-page .brand-mark:before,
.halloween-flow .brand-mark:before{
  border-color:#e43461!important;
  box-shadow:10px 10px 0 -2px #fbf6ee,10px 10px 0 0 #e43461!important;
}
.hw-nav{display:flex;align-items:center;gap:24px;font-size:.85rem}
.hw-nav a{color:#514139;text-decoration:none;padding:12px 0}
.hw-nav a:hover{text-decoration:underline;text-underline-offset:4px}
.hw-pill,.hw-flow-pill{
  display:inline-flex;align-items:center;padding:8px 15px;border-radius:99px;
  background:#f8ddb2;color:#704417;font-size:.79rem;font-weight:750;line-height:1.3;
}
.hw-flow-pill{margin-right:auto;margin-left:20px}
.halloween-page .btn.primary,.halloween-flow .btn.primary,
body.phone-match-page.halloween-flow .btn.primary{
  color:#261b10;background:#ffba4b;
  box-shadow:0 8px 24px rgba(185,109,22,.15);
}
.halloween-page .btn.primary:hover:not(:disabled),
.halloween-flow .btn.primary:hover:not(:disabled),
body.phone-match-page.halloween-flow .btn.primary:hover:not(:disabled){
  color:#261b10;background:#ffcb78;
}
.halloween-page a:focus-visible,.halloween-page button:focus-visible,
.halloween-flow a:focus-visible,.halloween-flow button:focus-visible,
.halloween-flow input:focus-visible,.halloween-flow textarea:focus-visible{
  outline:3px solid #b66a17;outline-offset:4px;
}
.hw-hero a:focus-visible{outline-color:#ffe1a9}

/* Campaign hero: real content over a separate responsive photograph. */
.hw-hero{
  position:relative;isolation:isolate;color:#fff9f0;
  background:#171710 url('assets/halloween-baggrund.webp') center center/cover no-repeat;
  overflow:hidden;
}
.hw-hero:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(12,13,9,.73) 0%,rgba(14,14,10,.66) 31%,rgba(14,14,10,.33) 57%,rgba(16,12,7,.08) 100%);
}
.hw-hero-inner{
  width:min(1200px,100%);margin:0 auto;padding:68px 30px 60px;
  display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:48px;align-items:center;
}
.hw-copy{position:relative;z-index:3;min-width:0;padding-bottom:4px}
.hw-copy .hw-eyebrow{margin:0 0 38px;color:#f9c16d;font-size:.72rem;font-weight:850;letter-spacing:.14em;line-height:1.5;text-transform:uppercase}
.hw-rule{width:68px;height:3px;background:var(--hw-amber);border-radius:2px;transform:rotate(-1deg);margin-bottom:23px}
.halloween-page .hw-copy h1{
  font-family:var(--serif);font-size:clamp(3.55rem,5.55vw,5.45rem);line-height:.94;
  letter-spacing:-.056em;font-weight:600;color:#fffbf4;margin:0 0 28px;
}
.hw-copy h1 span{color:var(--hw-amber);white-space:nowrap}
.hw-copy .hw-product{max-width:530px;margin:0 0 23px;font-size:1.04rem;line-height:1.6;letter-spacing:-.012em;color:#fff9f2}
.hw-product strong{font-weight:750}
.hw-promise{max-width:530px;border-left:2px solid var(--hw-amber);padding:2px 0 2px 18px;margin-bottom:27px;color:#e7dacb;font-size:.91rem;line-height:1.65}
.hw-promise strong{color:#fff8ee;font-weight:800}
.halloween-page .hw-cta{
  display:inline-flex;align-items:center;justify-content:center;
  width:fit-content;max-width:100%;gap:12px;
  text-decoration:none;text-align:center;line-height:1.3;
  border-radius:14px;min-height:53px;padding:14px 21px;font-size:.96rem;
}
.halloween-page .hw-cta-label{display:block;min-width:0;line-height:inherit}
.halloween-page .hw-cta-arrow{display:block;flex:0 0 auto;line-height:inherit}
.hw-copy .hw-micro{margin:12px 0 0;color:#e1d1be;font-size:.77rem;line-height:1.5}
.hw-product-scene{position:relative;width:100%;max-width:500px;height:570px;justify-self:end}
.hw-phone{
  position:absolute;z-index:2;right:19px;top:3px;width:266px;height:546px;
  padding:5px;border-radius:48px;transform:rotate(2deg);
  background:linear-gradient(115deg,#fff7ea 0%,#857f75 7%,#ffefd5 20%,#665e51 29%,#f9f4eb 46%,#c8ad87 76%,#fff8ee 98%);
  box-shadow:0 26px 45px rgba(0,0,0,.45),0 0 0 1px #b7a794,inset 0 0 0 2px rgba(255,255,255,.8);
}
.hw-phone:before,.hw-phone:after{content:"";position:absolute;pointer-events:none}
.hw-phone:before{z-index:3;inset:2px;border:1px solid #f1e6d6;border-radius:46px;box-shadow:inset 0 0 0 1px #a28b6c}
.hw-phone:after{z-index:3;inset:7px;border:1px solid rgba(247,236,217,.5);border-radius:40px}
.hw-phone-art{display:block;width:100%;height:100%;object-fit:cover;border-radius:43px}
/* Keep both motifs inside the same case; only the artwork fades. */
.hw-phone-primary{--hw-art-inset:5px}
.hw-phone-primary .hw-phone-art-alternate{
  position:absolute;inset:var(--hw-art-inset);width:calc(100% - 2 * var(--hw-art-inset));height:calc(100% - 2 * var(--hw-art-inset));
  opacity:0;transition:opacity .7s ease;pointer-events:none;
}
.hw-phone-primary.is-alternate .hw-phone-art-alternate{opacity:1}
.hw-slideshow-toggle{
  position:absolute;right:19px;top:100%;margin-top:6px;padding:5px 8px;
  border:1px solid rgba(255,225,169,.45);border-radius:6px;background:rgba(20,16,10,.6);
  color:#fff3df;font:inherit;font-size:.7rem;line-height:1.4;
}
.hw-slideshow-toggle[hidden]{display:none}
.hw-slideshow-toggle:hover{background:rgba(20,16,10,.85)}
.hw-camera{
  position:absolute;z-index:4;left:15px;top:16px;width:90px;height:99px;border-radius:26px;
  background:linear-gradient(140deg,#4e504a,#2e302c 55%,#3b3d37);
  border:1px solid #98968a;box-shadow:0 3px 6px rgba(0,0,0,.5),inset 0 0 3px rgba(255,255,255,.22);
}
.hw-camera span{
  position:absolute;left:9px;width:34px;height:34px;border-radius:50%;
  background:radial-gradient(circle at 48% 48%,#092934 0 10%,#13202b 14%,#010509 29%,#112229 39%,#020508 57%,#181f1d 59%,#070b0a 69%,#64716b 76%,#101611 80%);
  border:1px solid #646c63;box-shadow:0 2px 4px #0b0e09;
}
.hw-camera span:first-child{top:8px}
.hw-camera span:nth-child(2){bottom:9px}
.hw-camera i{position:absolute;right:13px;top:40px;width:15px;height:15px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fffdf4,#e4dfc6 70%,#9b978a);box-shadow:0 0 0 1px #707067}
.hw-camera b{position:absolute;right:19px;top:23px;width:5px;height:5px;border-radius:50%;background:#181c17;box-shadow:0 0 0 1px #444a40}
/* The secondary phone occupies exactly the former paper card's box.
   Scale case details and camera with its width at every breakpoint. */
.hw-phone.hw-phone-secondary{
  --hw-secondary-width:210px;--hw-secondary-scale:.7894736842;
  z-index:1;left:8px;right:auto;top:auto;bottom:11px;
  width:var(--hw-secondary-width);height:auto;aspect-ratio:715 / 1467;
  padding:calc(5px * var(--hw-secondary-scale));
  border-radius:calc(48px * var(--hw-secondary-scale));
  transform:rotate(-10deg);
}
.hw-phone-secondary:before{
  inset:calc(2px * var(--hw-secondary-scale));
  border-radius:calc(46px * var(--hw-secondary-scale));
}
.hw-phone-secondary:after{
  inset:calc(7px * var(--hw-secondary-scale));
  border-radius:calc(40px * var(--hw-secondary-scale));
}
.hw-phone-secondary .hw-phone-art{border-radius:calc(43px * var(--hw-secondary-scale))}
.hw-phone-secondary .hw-camera{
  left:calc(15px * var(--hw-secondary-scale));top:calc(16px * var(--hw-secondary-scale));
  transform:scale(var(--hw-secondary-scale));transform-origin:top left;
}
/* Follow the bottom-anchored secondary phone when the scene height changes.
   This preserves top:33px at 570px and raises the note with the phone at 470px.
   The existing mobile positions below remain unchanged. */
.hw-swap-note{position:absolute;z-index:3;left:-2px;top:calc(100% - 537px);color:#ffc160;display:flex;gap:7px;align-items:flex-start;transform:rotate(-9deg)}
.hw-swap-note span{font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;font-size:1.19rem;line-height:1.25;text-align:center}
.hw-swap-note svg{width:46px;height:65px;margin-top:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hw-down{display:flex;align-items:center;flex-direction:column;position:relative;width:max-content;margin:0 auto;padding:0 20px 22px;text-decoration:none;color:#fff6e9;font-size:.78rem;font-weight:750;gap:7px}
.hw-down svg{width:38px;height:21px;fill:none;stroke:var(--hw-amber);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.halloween-page #priser{padding-top:66px;padding-bottom:68px;background:#fffaf4;border-top:1px solid #dfd2c8}
.halloween-page .pricing-panel .section-heading .section-rule{display:none}
.halloween-page .pricing-start-card .hw-cta{
  display:inline-flex;align-self:center;margin-left:auto;margin-right:auto;
}
.halloween-page .price-includes .hw-included-motif{color:#9f560e;font-weight:800}
.halloween-page .price-includes li>span:first-child{color:#ac6413}
.halloween-page .price-new{color:#9f560e}
.halloween-page .pricing-start-card h3{color:#fffaf6}
.halloween-page .site-footer a,.halloween-flow .site-footer a{color:#94511b}

/* Flow skin retains the lighter original UI for legible forms. */
body.halloween-flow{
  background:radial-gradient(circle at 90% 4%,rgba(248,213,157,.32),transparent 28rem),#fbf6ee;
}
.halloween-flow .accent{color:#a45b13!important}
.halloween-flow .section-rule{background:#bc7525!important}
.halloween-flow .demo-photo-halloween{background-image:url('assets/halloween-graeskar.webp')!important}
.halloween-flow .upload-phone-tile{border-color:#bd945d!important;background:linear-gradient(140deg,#fffdf8,#fff0d9)!important}
.halloween-flow .upload-phone-tile:hover,.halloween-flow .upload-phone-tile.drag{border-color:#a45b13!important}
.halloween-flow .upload-phone-tile.is-ready{background:#fff2db!important}
.halloween-flow .drop-icon{color:#a45b13!important;border-color:#dab582!important;background:#fff9ee!important}
.halloween-flow .hw-upload-status{margin:0 0 25px;color:#79644d;text-align:center;font-size:.86rem;line-height:1.5}
.halloween-flow .hw-preview-label{margin:15px -8px 0;max-width:calc(100% + 16px);color:#635340;font-size:.81rem;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.halloween-flow .hw-preset-preview .hw-preview-label{font-weight:800;color:#8e571c}
.halloween-flow .hw-preset-preview .preview-camera,
.halloween-flow .contact-upload-art+.demo-camera,
.halloween-flow .demo-photo-halloween+.demo-camera{
  background:linear-gradient(145deg,#55564d,#353831)!important;
  box-shadow:inset 0 0 0 1px #8e9380,0 1px 3px rgba(0,0,0,.3)!important;
}
.halloween-flow .remove{opacity:1!important;visibility:visible!important;background:#9b3640!important;color:#fff!important}
.halloween-flow .preview-guidance{border-color:#dbc7a9;background:#fff5e6}
.halloween-flow .upload-next-card .btn{color:#261b10}
.halloween-flow .upload-continue-cue{color:#945b1d}
.halloween-flow .preview{padding-bottom:0}
.halloween-flow .hw-missing-image{margin:100px 20px 0;font-size:.9rem;text-align:center;color:#523c22}
.halloween-flow .hw-edit-motifs{display:inline-block;margin-top:18px;color:#955314;text-underline-offset:4px;font-weight:700;font-size:.86rem}
.halloween-flow .notice{background:#fff0d5;border-color:#dfbd8d;color:#69441f}
.hw-storage-error{margin:18px auto;padding:18px;max-width:900px;color:#842d39;background:#fff0f2;border:1px solid #d8939d;border-radius:12px;line-height:1.55}
.hw-retry{margin:12px 0 0}
@media(min-width:701px){
  .halloween-flow.upload-page .page-intro{padding-top:42px;padding-bottom:36px}
  .halloween-flow.upload-page .page-intro-grid{grid-template-columns:minmax(0,1fr) 370px}
  .halloween-flow.upload-page .page-intro h1{font-size:clamp(2.8rem,4.5vw,4.5rem)}
  .halloween-flow.upload-page .page-intro .phone-scene{transform:scale(.80);transform-origin:center top;margin-bottom:-96px;justify-self:center}
  .halloween-flow.upload-page .upload-gallery-section{padding-top:38px;padding-bottom:45px}
}
@media(max-width:1120px) and (min-width:801px){
  .hw-hero-inner{gap:24px;padding-top:46px;padding-bottom:42px}
  .hw-product-scene{height:470px;transform:scale(.86);transform-origin:right center;width:440px;margin-left:-35px}
  .halloween-page .hw-copy h1{font-size:4.05rem}
  .hw-copy .hw-eyebrow{font-size:.65rem}
}
@media(max-width:800px){
  .halloween-page .topbar{height:68px;padding-left:22px;padding-right:22px}
  .hw-nav{gap:14px;font-size:.79rem}
  .hw-pill{padding:7px 11px;font-size:.71rem}
  .hw-hero{background-position:65% center}
  .hw-hero:before{background:linear-gradient(180deg,rgba(10,12,9,.84),rgba(14,15,10,.7) 42%,rgba(15,12,7,.08) 100%)}
  .hw-hero-inner{grid-template-columns:minmax(0,1fr);gap:24px;padding:38px 24px 56px;max-width:590px}
  .hw-copy .hw-eyebrow{font-size:.63rem;letter-spacing:.12em;margin-bottom:27px}
  .hw-rule{width:52px;margin-bottom:21px}
  .halloween-page .hw-copy h1{font-size:clamp(2.95rem,8.7vw,4.35rem);line-height:.99;margin-bottom:24px}
  .hw-copy .hw-product{font-size:.97rem;line-height:1.65;max-width:100%}
  .hw-promise{font-size:.87rem;padding-left:15px;line-height:1.65;max-width:100%}
  .halloween-page .hw-cta{display:flex;font-size:.88rem;min-height:51px;width:fit-content;gap:10px;padding:14px 18px;margin-left:auto;margin-right:auto}
  .hw-copy .hw-micro{text-align:center;font-size:.72rem}
  .hw-product-scene{justify-self:center;width:350px;max-width:100%;height:430px;margin-top:7px}
  .hw-phone{width:202px;height:416px;top:2px;right:5px;border-radius:36px;padding:4px}
  .hw-phone-art{border-radius:32px}
  .hw-phone-primary{--hw-art-inset:4px}
  .hw-phone:before{border-radius:34px}
  .hw-phone:after{inset:6px;border-radius:30px}
  .hw-camera{transform:scale(.76);transform-origin:top left;left:12px;top:13px}
  .hw-phone.hw-phone-secondary{--hw-secondary-width:157px;--hw-secondary-scale:.5902255639;left:5px;bottom:4px}
  .hw-swap-note{left:4px;top:8px}
  .hw-swap-note span{font-size:.95rem}
  .hw-swap-note svg{width:35px;height:51px}
  .hw-down{padding-bottom:20px;font-size:.75rem}
  .halloween-page #priser{padding:38px 0 42px}
  .halloween-page .pricing-panel .section-heading .lead{font-size:.94rem}
  .halloween-page .price-label,.halloween-page .pricing-start-card h3{font-size:1.6rem}
  .halloween-page .price-includes{font-size:.92rem;gap:12px}
  .halloween-page .pricing-start-card .btn{font-size:.84rem}
  .hw-flow-pill{margin-left:14px;padding:6px 10px;font-size:.69rem}
}
@media(max-width:380px){
  .hw-hero-inner{padding-left:20px;padding-right:20px}
  .hw-nav .hw-pill{display:none}
  .hw-product-scene{height:392px}
  .hw-phone{width:187px;height:384px;right:0}
  .hw-phone.hw-phone-secondary{--hw-secondary-width:143px;--hw-secondary-scale:.53759398496;left:4px}
  .hw-swap-note{top:5px;left:0}
  .hw-swap-note span{font-size:.86rem}
  .hw-flow-pill{margin-left:10px;padding:5px 7px;font-size:.64rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .halloween-page *,.halloween-flow *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
/* Darker amber for small text on the light form pages. */
.halloween-flow.upload-page .page-intro-grid > div:first-child:before,
.halloween-flow.contact-page .page-intro-grid > div:first-child:before,
.halloween-flow .upload-section-heading > span{color:#9a5918}
.halloween-flow .upload-bottom-section{background:#f4e8d9!important}

/* Version 2.3: optional campaign motifs share the same three slots as uploads. */
.halloween-flow .demo-photo-spoegelse{background-image:url('assets/halloween-spoegelse.webp')!important}
.halloween-flow .demo-photo-spoegelse+.demo-camera{
  background:linear-gradient(145deg,#55564d,#353831)!important;
  box-shadow:inset 0 0 0 1px #8e9380,0 1px 3px rgba(0,0,0,.3)!important;
}
.halloween-flow .hw-preset-section{max-width:960px;margin:0 auto 36px;text-align:center}
.halloween-flow .hw-preset-section h3{margin:0 0 18px;font-family:var(--serif);font-size:1.35rem;line-height:1.3;color:#34291f}
.halloween-flow .hw-preset-section h3>span{font-family:var(--sans,inherit);font-size:.83rem;font-weight:400;color:#766652}
.halloween-flow .hw-preset-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.halloween-flow .hw-preset-option{
  display:flex;align-items:center;gap:20px;width:100%;min-width:0;padding:17px 21px;
  text-align:left;border:2px solid #decbb1;border-radius:20px;background:#fffcf7;color:#34291f;
  cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s;
}
.halloween-flow .hw-preset-option:hover:not(:disabled){border-color:#b56a1b;background:#fff6e8}
.halloween-flow .hw-preset-option[aria-pressed="true"]{border-color:#a66319;background:#fff0d7;box-shadow:0 3px 13px rgba(130,81,24,.08)}
.halloween-flow .hw-preset-option:disabled{cursor:not-allowed;opacity:.58}
.halloween-flow .hw-preset-option[aria-pressed="true"]:disabled{opacity:.85}
.halloween-flow .hw-preset-thumb{
  position:relative;display:block;flex:0 0 67px;width:67px;aspect-ratio:715/1467;padding:2px;overflow:hidden;
  border:1px solid #898173;border-radius:15px;background:#35352d;box-shadow:0 5px 12px rgba(36,28,15,.2);
}
.halloween-flow .hw-preset-thumb>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}
.halloween-flow .hw-preset-camera{position:absolute;display:block;left:5px;top:5px;width:22px;height:26px;border-radius:7px;background:#393b34;border:1px solid #939383}
.halloween-flow .hw-preset-camera>i{position:absolute;left:3px;top:3px;width:7px;height:7px;border-radius:50%;background:#060a0a;border:1px solid #616b65}
.halloween-flow .hw-preset-camera>i:nth-child(2){top:14px}
.halloween-flow .hw-preset-camera>b{position:absolute;right:3px;top:10px;width:4px;height:4px;border-radius:50%;background:#e8e4d3}
.halloween-flow .hw-preset-info{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.halloween-flow .hw-preset-info>strong{font-size:1.02rem;font-weight:800;line-height:1.4}
.halloween-flow .hw-preset-info>span{font-size:.78rem;line-height:1.45;color:#6f5a43}
.halloween-flow .hw-preset-info .hw-preset-toggle{display:inline-flex;align-items:center;gap:7px;margin-top:9px;color:#834c11;font-size:.82rem;font-weight:750}
.halloween-flow .hw-preset-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:23px;border:1.5px solid #a66319;border-radius:6px;font-size:1rem;line-height:1;background:#fffaf1}
.halloween-flow .hw-preset-option[aria-pressed="true"] .hw-preset-check{background:#a66319;color:#fff}
.halloween-flow .hw-preset-capacity{margin:15px 0 0;color:#74614c;font-size:.82rem;line-height:1.6;min-height:2.6em}
.halloween-flow .hw-selection-title{text-align:center;font-family:var(--serif);font-size:1.45rem;color:#34291f;line-height:1.35;margin:0 0 12px}
.halloween-flow .hw-upload-status{margin-bottom:30px}
.halloween-flow .remove:disabled{cursor:wait;opacity:.55!important}
@media(max-width:800px){
  .halloween-flow .hw-preset-picker{gap:10px}
  .halloween-flow .hw-preset-option{flex-direction:column;align-items:center;gap:12px;padding:15px 9px;text-align:center;border-radius:17px}
  .halloween-flow .hw-preset-thumb{flex:none;width:58px;height:auto;aspect-ratio:715/1467}
  .halloween-flow .hw-preset-info{align-items:center;gap:5px}
  .halloween-flow .hw-preset-info>strong{font-size:.9rem}
  .halloween-flow .hw-preset-info>span{font-size:.72rem}
  .halloween-flow .hw-preset-info .hw-preset-toggle{font-size:.76rem;margin-top:7px}
  .halloween-flow .hw-preset-capacity{min-height:0}
  .halloween-flow .hw-preset-section{margin-bottom:28px}
}

@media(max-width:380px){
  .halloween-flow .hw-preset-picker{grid-template-columns:1fr}
  .halloween-flow .hw-preset-option{flex-direction:row;gap:18px;padding:14px 20px;text-align:left}
  .halloween-flow .hw-preset-info{align-items:flex-start}
}
