/* Component corrections follow the original export CSS on every page. */
.nv-logo { display:block; flex:none; width:120px; height:auto; overflow:visible; }
footer .nv-logo { width:96px; }
[data-img-slot] > img { height:100%!important; }

@media (max-width:1024px) {
  /* Export doodles extend beyond the page; content itself wraps below. */
  html, body { overflow-x:clip; }
  header[data-screen-label] { flex-wrap:wrap; gap:20px; }
  header[data-screen-label] > a:first-child { margin-left:0; flex:none; }
  header[data-screen-label] nav { flex-wrap:wrap!important; justify-content:flex-start!important; }
  .nv-polaroid { width:min(358px, calc(100% - 24px))!important; max-width:358px!important; justify-self:center; }
  .nv-polaroid [data-img-slot] { width:100%!important; }
  .nv-polaroid [data-img-slot] > img { height:100%!important; }
  #vorteile .nv-why-note { position:relative!important; top:auto!important; right:auto!important; margin:0 14px 36px auto; }
  section[style*="grid-template-columns:1fr 1.08fr"],
  [style*="grid-template-columns:400px 1fr"] { grid-template-columns:minmax(0,1fr)!important; gap:40px!important; }
}

@media (max-width:640px) {
  header[data-screen-label] nav { gap:10px 16px!important; width:100%; }
  header[data-screen-label] nav > a { min-height:44px; display:inline-flex; align-items:center; }
  header[data-screen-label] nav a[title="WhatsApp"] { display:none!important; }
  .nv-hero-highlight { padding:0 .12em!important; white-space:nowrap; }
  .nv-hero-highlight > svg { left:-5%!important; top:-9%!important; width:110%!important; max-width:none!important; height:118%!important; }
  .nv-hero-dash { display:none; }
  #top h1 { line-height:1.2!important; }
  #top > div:first-child > div:first-child { flex-wrap:wrap; font-size:11px!important; letter-spacing:1px!important; }
  #top > div:first-child > div:first-child > span:first-child { flex:none; }
  #top > div:first-child > div[style*="display:flex"]:has(> a) { flex-wrap:wrap; }
  #top > div:first-child > div[style*="display:flex"] > a { justify-content:center; flex:1 1 160px; }
  .nv-polaroid > div:has([data-img-slot]) > div:has(> [data-img-slot]) { width:100%!important; height:auto!important; aspect-ratio:11 / 12!important; }
  .nv-polaroid [data-img-slot] { height:100%!important; }
  .nv-polaroid > div > div[style*="Caveat"] { display:block!important; font-size:21px!important; }
  #vorteile h2 { display:block!important; line-height:1.5; }
  #vorteile h2 > span:last-child { display:block; margin-left:0!important; }
  #vorteile h2 > span:first-child > span[style*="position:absolute"] { left:0!important; right:-60px!important; height:3px!important; }
  footer > div { flex-wrap:wrap; gap:12px!important; }
  a[style*="position:fixed"][title="WhatsApp"] { width:48px!important; height:48px!important; right:12px!important; bottom:calc(12px + env(safe-area-inset-bottom))!important; }
  input, select, textarea { font-size:16px!important; max-width:100%; }
}

@media (max-width:1024px) {
  .nv-care-included { flex-wrap:wrap; }
  .nv-care-included > p { flex:1 1 100%!important; }
}
@media (max-width:640px) {
  h1 { hyphens:auto; overflow-wrap:anywhere!important; }
  h1 > span:has(> svg) { max-width:100%; padding-left:4px!important; padding-right:4px!important; }
  #vorteile h2 > span:first-child { margin-left:18px; }
  .nv-care-included { padding:24px!important; gap:16px!important; }
  .nv-care-included > div { flex:1 1 100%!important; }
}
